home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / faq / vol15n14.zip / DDGAME.ZIP / GAME.H < prev    next >
C/C++ Source or Header  |  1996-04-17  |  894b  |  50 lines

  1. // Game.h : main header file for the GAME application
  2. //
  3.  
  4. #ifndef __AFXWIN_H__
  5.     #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7.  
  8. #include "resource.h"       // main symbols
  9.  
  10. class CGameFrame;
  11. class CGameApp : public CWinApp
  12. {
  13. public:
  14.     CGameApp();
  15.  
  16. // Attributes
  17. public:
  18.     int m_displayWidth;
  19.     int m_displayHeight;
  20.  
  21. protected:
  22.   BOOL m_bPlaying;
  23.  
  24. // Operations
  25. public:
  26.     virtual void StopPlay();
  27.     virtual void StartPlay();
  28.  
  29. protected:
  30.     CGameFrame* GetGameFrame();
  31.     virtual CWnd* GetNewFrame();
  32.  
  33.   // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CGameApp)
  36.     public:
  37.     virtual BOOL InitInstance();
  38.     virtual int Run();
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42.  
  43.     //{{AFX_MSG(CGameApp)
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.  
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50.